﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PrismRegion.Navigation.ViewModels.Pages
{
    public class ViewBViewModel : INavigationAware
    {
        public string Title { get; set; } = "ViewB";
        public bool IsNavigationTarget(NavigationContext navigationContext)
        {
            return true;
        }

        public void OnNavigatedFrom(NavigationContext navigationContext)
        {
        }

        public void OnNavigatedTo(NavigationContext navigationContext)
        {
            string aaaa = navigationContext.Parameters.GetValue<string>("abcd");
        }
    }
}
